package camid.test.util;

public class IntegerUtil {

	public static Integer[] makeIntegerRange(int start, int end)
	{
		return makeIntegerRange(start, end, 1);
	}
	
	public static Integer[] makeIntegerRange(int start, int end, int increment)
	{
		int len = (end - start) / increment;
		Integer[] range = new Integer[len];
		
		for(int i = 0, v = start; i < len && v <= end; i++)
		{
			range[i] = v;
			v += increment;
		}
		
		return range;
	}

}
